package com.wrb.manage.service;

import com.wrb.manage.mapper.CouponCustomerMapper;
import com.wrb.manage.model.CouponCustomerCriteria;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author wrb
 * @date 2019/12/5 16:46
 */
@Service
public class CouponCustomerService {

	@Autowired
	private CouponCustomerMapper couponCustomerMapper;

	public List getList() {
		CouponCustomerCriteria criteria = new CouponCustomerCriteria();
		criteria.setOrderByClause(" create_time desc");
		return this.couponCustomerMapper.selectByExample(criteria);
	}
}
